MailPoet\Segments\WooCommerce A

Total Complexity 63
Dependencies 18
Dependents 7
Total lines 572
Lines of code 423
Logical lines of code 216
Comment lines 59
Methods 17
Properties 12

Methods 17

Method Rating Maintainability Complexity Lines of code
synchronizeRegisteredCustomer()
A
45 12 42
updateNames()
A
41 10 59
synchronizeGuestCustomer()
A
51 9 27
removeOrphanedSubscribers()
S
39 4 75
insertSubscribersFromOrders()
S
47 5 38
synchronizeCustomers()
S
58 3 16
ensureColumnCollation()
S
60 3 14
updateStatus()
S
53 2 24
insertSubscribers()
S
54 2 20
updateGlobalStatus()
S
52 1 30
insertSubscriberFromOrder()
S
65 3 9
shouldShowWooCommerceSegment()
S
67 3 8
needsCollationChange()
S
63 2 11
insertUsersToSegment()
S
60 1 14
unsubscribeUsersFromSegment()
S
61 1 13
__construct()
S
62 1 12
markRegisteredCustomers()
S
62 1 11